package org.practice.model;

import java.util.List;

public class Category implements java.io.Serializable{
	private static final long serialVersionUID=123465l;
	public static final int BOOK_ID=1;
	
	private Integer id;
	private String enName;
	private String name;
	private String desc;
	private Long parentId;
	
	private List<Category> subCategory;
	public Category(){
		super();
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getEnName() {
		return enName;
	}
	public void setEnName(String enName) {
		this.enName = enName;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	public Long getParentId() {
		return parentId;
	}
	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}
	public List<Category> getSubCategory() {
		return subCategory;
	}
	public void setSubCategory(List<Category> subCategory) {
		this.subCategory = subCategory;
	}
	
}
